import service from '@/utils/request'
// @Tags PageSettingSec
// @Summary 创建pageSettingSec表
// @Security ApiKeyAuth
// @accept application/json
// @Produce application/json
// @Param data body model.PageSettingSec true "创建pageSettingSec表"
// @Success 200 {string} string "{"success":true,"data":{},"msg":"创建成功"}"
// @Router /pageSettingSec/createPageSettingSec [post]
export const createPageSettingSec = (data) => {
  return service({
    url: '/pageSettingSec/createPageSettingSec',
    method: 'post',
    data
  })
}

// @Tags PageSettingSec
// @Summary 删除pageSettingSec表
// @Security ApiKeyAuth
// @accept application/json
// @Produce application/json
// @Param data body model.PageSettingSec true "删除pageSettingSec表"
// @Success 200 {string} string "{"success":true,"data":{},"msg":"删除成功"}"
// @Router /pageSettingSec/deletePageSettingSec [delete]
export const deletePageSettingSec = (params) => {
  return service({
    url: '/pageSettingSec/deletePageSettingSec',
    method: 'delete',
    params
  })
}

// @Tags PageSettingSec
// @Summary 批量删除pageSettingSec表
// @Security ApiKeyAuth
// @accept application/json
// @Produce application/json
// @Param data body request.IdsReq true "批量删除pageSettingSec表"
// @Success 200 {string} string "{"success":true,"data":{},"msg":"删除成功"}"
// @Router /pageSettingSec/deletePageSettingSec [delete]
export const deletePageSettingSecByIds = (params) => {
  return service({
    url: '/pageSettingSec/deletePageSettingSecByIds',
    method: 'delete',
    params
  })
}

// @Tags PageSettingSec
// @Summary 更新pageSettingSec表
// @Security ApiKeyAuth
// @accept application/json
// @Produce application/json
// @Param data body model.PageSettingSec true "更新pageSettingSec表"
// @Success 200 {string} string "{"success":true,"data":{},"msg":"更新成功"}"
// @Router /pageSettingSec/updatePageSettingSec [put]
export const updatePageSettingSec = (data) => {
  return service({
    url: '/pageSettingSec/updatePageSettingSec',
    method: 'put',
    data
  })
}

// @Tags PageSettingSec
// @Summary 用id查询pageSettingSec表
// @Security ApiKeyAuth
// @accept application/json
// @Produce application/json
// @Param data query model.PageSettingSec true "用id查询pageSettingSec表"
// @Success 200 {string} string "{"success":true,"data":{},"msg":"查询成功"}"
// @Router /pageSettingSec/findPageSettingSec [get]
export const findPageSettingSec = (params) => {
  return service({
    url: '/pageSettingSec/findPageSettingSec',
    method: 'get',
    params
  })
}

// @Tags PageSettingSec
// @Summary 分页获取pageSettingSec表列表
// @Security ApiKeyAuth
// @accept application/json
// @Produce application/json
// @Param data query request.PageInfo true "分页获取pageSettingSec表列表"
// @Success 200 {string} string "{"success":true,"data":{},"msg":"获取成功"}"
// @Router /pageSettingSec/getPageSettingSecList [get]
export const getPageSettingSecList = (params) => {
  return service({
    url: '/pageSettingSec/getPageSettingSecList',
    method: 'get',
    params
  })
}